home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / inline / iffparse.h < prev    next >
C/C++ Source or Header  |  1997-04-14  |  7KB  |  175 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_IFFPARSE_H
  4. #define _INLINE_IFFPARSE_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef IFFPARSE_BASE_NAME
  11. #define IFFPARSE_BASE_NAME IFFParseBase
  12. #endif /* !IFFPARSE_BASE_NAME */
  13.  
  14. #define AllocIFF() \
  15.     LP0(0x1e, struct IFFHandle *, AllocIFF, \
  16.     , IFFPARSE_BASE_NAME)
  17.  
  18. #define AllocLocalItem(type, id, ident, dataSize) \
  19.     LP4(0xba, struct LocalContextItem *, AllocLocalItem, long, type, d0, long, id, d1, long, ident, d2, long, dataSize, d3, \
  20.     , IFFPARSE_BASE_NAME)
  21.  
  22. #define CloseClipboard(clipHandle) \
  23.     LP1NR(0xfc, CloseClipboard, struct ClipboardHandle *, clipHandle, a0, \
  24.     , IFFPARSE_BASE_NAME)
  25.  
  26. #define CloseIFF(iff) \
  27.     LP1NR(0x30, CloseIFF, struct IFFHandle *, iff, a0, \
  28.     , IFFPARSE_BASE_NAME)
  29.  
  30. #define CollectionChunk(iff, type, id) \
  31.     LP3(0x8a, LONG, CollectionChunk, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  32.     , IFFPARSE_BASE_NAME)
  33.  
  34. #define CollectionChunks(iff, propArray, numPairs) \
  35.     LP3(0x90, LONG, CollectionChunks, struct IFFHandle *, iff, a0, LONG *, propArray, a1, long, numPairs, d0, \
  36.     , IFFPARSE_BASE_NAME)
  37.  
  38. #define CurrentChunk(iff) \
  39.     LP1(0xae, struct ContextNode *, CurrentChunk, struct IFFHandle *, iff, a0, \
  40.     , IFFPARSE_BASE_NAME)
  41.  
  42. #define EntryHandler(iff, type, id, position, handler, object) \
  43.     LP6(0x66, LONG, EntryHandler, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, long, position, d2, struct Hook *, handler, a1, APTR, object, a2, \
  44.     , IFFPARSE_BASE_NAME)
  45.  
  46. #define ExitHandler(iff, type, id, position, handler, object) \
  47.     LP6(0x6c, LONG, ExitHandler, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, long, position, d2, struct Hook *, handler, a1, APTR, object, a2, \
  48.     , IFFPARSE_BASE_NAME)
  49.  
  50. #define FindCollection(iff, type, id) \
  51.     LP3(0xa2, struct CollectionItem *, FindCollection, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  52.     , IFFPARSE_BASE_NAME)
  53.  
  54. #define FindLocalItem(iff, type, id, ident) \
  55.     LP4(0xd2, struct LocalContextItem *, FindLocalItem, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, long, ident, d2, \
  56.     , IFFPARSE_BASE_NAME)
  57.  
  58. #define FindProp(iff, type, id) \
  59.     LP3(0x9c, struct StoredProperty *, FindProp, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  60.     , IFFPARSE_BASE_NAME)
  61.  
  62. #define FindPropContext(iff) \
  63.     LP1(0xa8, struct ContextNode *, FindPropContext, struct IFFHandle *, iff, a0, \
  64.     , IFFPARSE_BASE_NAME)
  65.  
  66. #define FreeIFF(iff) \
  67.     LP1NR(0x36, FreeIFF, struct IFFHandle *, iff, a0, \
  68.     , IFFPARSE_BASE_NAME)
  69.  
  70. #define FreeLocalItem(localItem) \
  71.     LP1NR(0xcc, FreeLocalItem, struct LocalContextItem *, localItem, a0, \
  72.     , IFFPARSE_BASE_NAME)
  73.  
  74. #define GoodID(id) \
  75.     LP1(0x102, LONG, GoodID, long, id, d0, \
  76.     , IFFPARSE_BASE_NAME)
  77.  
  78. #define GoodType(type) \
  79.     LP1(0x108, LONG, GoodType, long, type, d0, \
  80.     , IFFPARSE_BASE_NAME)
  81.  
  82. #define IDtoStr(id, buf) \
  83.     LP2(0x10e, STRPTR, IDtoStr, long, id, d0, STRPTR, buf, a0, \
  84.     , IFFPARSE_BASE_NAME)
  85.  
  86. #define InitIFF(iff, flags, streamHook) \
  87.     LP3NR(0xe4, InitIFF, struct IFFHandle *, iff, a0, long, flags, d0, struct Hook *, streamHook, a1, \
  88.     , IFFPARSE_BASE_NAME)
  89.  
  90. #define InitIFFasClip(iff) \
  91.     LP1NR(0xf0, InitIFFasClip, struct IFFHandle *, iff, a0, \
  92.     , IFFPARSE_BASE_NAME)
  93.  
  94. #define InitIFFasDOS(iff) \
  95.     LP1NR(0xea, InitIFFasDOS, struct IFFHandle *, iff, a0, \
  96.     , IFFPARSE_BASE_NAME)
  97.  
  98. #define LocalItemData(localItem) \
  99.     LP1(0xc0, APTR, LocalItemData, struct LocalContextItem *, localItem, a0, \
  100.     , IFFPARSE_BASE_NAME)
  101.  
  102. #define OpenClipboard(unitNumber) \
  103.     LP1(0xf6, struct ClipboardHandle *, OpenClipboard, long, unitNumber, d0, \
  104.     , IFFPARSE_BASE_NAME)
  105.  
  106. #define OpenIFF(iff, rwMode) \
  107.     LP2(0x24, LONG, OpenIFF, struct IFFHandle *, iff, a0, long, rwMode, d0, \
  108.     , IFFPARSE_BASE_NAME)
  109.  
  110. #define ParentChunk(contextNode) \
  111.     LP1(0xb4, struct ContextNode *, ParentChunk, struct ContextNode *, contextNode, a0, \
  112.     , IFFPARSE_BASE_NAME)
  113.  
  114. #define ParseIFF(iff, control) \
  115.     LP2(0x2a, LONG, ParseIFF, struct IFFHandle *, iff, a0, long, control, d0, \
  116.     , IFFPARSE_BASE_NAME)
  117.  
  118. #define PopChunk(iff) \
  119.     LP1(0x5a, LONG, PopChunk, struct IFFHandle *, iff, a0, \
  120.     , IFFPARSE_BASE_NAME)
  121.  
  122. #define PropChunk(iff, type, id) \
  123.     LP3(0x72, LONG, PropChunk, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  124.     , IFFPARSE_BASE_NAME)
  125.  
  126. #define PropChunks(iff, propArray, numPairs) \
  127.     LP3(0x78, LONG, PropChunks, struct IFFHandle *, iff, a0, LONG *, propArray, a1, long, numPairs, d0, \
  128.     , IFFPARSE_BASE_NAME)
  129.  
  130. #define PushChunk(iff, type, id, size) \
  131.     LP4(0x54, LONG, PushChunk, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, long, size, d2, \
  132.     , IFFPARSE_BASE_NAME)
  133.  
  134. #define ReadChunkBytes(iff, buf, numBytes) \
  135.     LP3(0x3c, LONG, ReadChunkBytes, struct IFFHandle *, iff, a0, APTR, buf, a1, long, numBytes, d0, \
  136.     , IFFPARSE_BASE_NAME)
  137.  
  138. #define ReadChunkRecords(iff, buf, bytesPerRecord, numRecords) \
  139.     LP4(0x48, LONG, ReadChunkRecords, struct IFFHandle *, iff, a0, APTR, buf, a1, long, bytesPerRecord, d0, long, numRecords, d1, \
  140.     , IFFPARSE_BASE_NAME)
  141.  
  142. #define SetLocalItemPurge(localItem, purgeHook) \
  143.     LP2NR(0xc6, SetLocalItemPurge, struct LocalContextItem *, localItem, a0, struct Hook *, purgeHook, a1, \
  144.     , IFFPARSE_BASE_NAME)
  145.  
  146. #define StopChunk(iff, type, id) \
  147.     LP3(0x7e, LONG, StopChunk, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  148.     , IFFPARSE_BASE_NAME)
  149.  
  150. #define StopChunks(iff, propArray, numPairs) \
  151.     LP3(0x84, LONG, StopChunks, struct IFFHandle *, iff, a0, LONG *, propArray, a1, long, numPairs, d0, \
  152.     , IFFPARSE_BASE_NAME)
  153.  
  154. #define StopOnExit(iff, type, id) \
  155.     LP3(0x96, LONG, StopOnExit, struct IFFHandle *, iff, a0, long, type, d0, long, id, d1, \
  156.     , IFFPARSE_BASE_NAME)
  157.  
  158. #define StoreItemInContext(iff, localItem, contextNode) \
  159.     LP3NR(0xde, StoreItemInContext, struct IFFHandle *, iff, a0, struct LocalContextItem *, localItem, a1, struct ContextNode *, contextNode, a2, \
  160.     , IFFPARSE_BASE_NAME)
  161.  
  162. #define StoreLocalItem(iff, localItem, position) \
  163.     LP3(0xd8, LONG, StoreLocalItem, struct IFFHandle *, iff, a0, struct LocalContextItem *, localItem, a1, long, position, d0, \
  164.     , IFFPARSE_BASE_NAME)
  165.  
  166. #define WriteChunkBytes(iff, buf, numBytes) \
  167.     LP3(0x42, LONG, WriteChunkBytes, struct IFFHandle *, iff, a0, APTR, buf, a1, long, numBytes, d0, \
  168.     , IFFPARSE_BASE_NAME)
  169.  
  170. #define WriteChunkRecords(iff, buf, bytesPerRecord, numRecords) \
  171.     LP4(0x4e, LONG, WriteChunkRecords, struct IFFHandle *, iff, a0, APTR, buf, a1, long, bytesPerRecord, d0, long, numRecords, d1, \
  172.     , IFFPARSE_BASE_NAME)
  173.  
  174. #endif /* !_INLINE_IFFPARSE_H */
  175.